import { createRouter, createWebHistory } from 'vue-router'


const routes = [
  {
    path: '/',
    name: 'a',
    component: () => import ("@/views/a.vue")
  },
  {
    path: '/b',
    name: 'b',
    component: () => import ("@/views/b.vue")
  }
]

const Router = createRouter({
  history: createWebHistory(import.meta.env.VITE_PUBLIC_PATH),
  routes: routes
})

export default Router